﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JustTypeUI.Error
{
    /// <summary>
    /// A static set of error messages
    /// 
    /// Main Author: Xiao Yuguang
    /// </summary>
    class AddError
    {
        public const string NO_TASK_NAME = "Add failed, Missing task name.";

    }
    class DoneError
    {
        public const string NO_INDEX = "Done failed, please input task index.";
        public const string INDEX_OVER_FLOW = "Done failed, index overflow.";
    }
    class DeleteError
    {
        public const string NO_INDEX = "Delete failed, please input task index.";
        public const string INDEX_OVER_FLOW = "Delete failed, index overflow.";
    }
    class PostponeError
    {
        public const string NO_INDEX = "Postpone failed, please input task index.";
        public const string INDEX_OVER_FLOW = "Postpone failed, index overflow.";
    }
    class EditError
    {
        public const string NO_INDEX = "Edit failed, please input a task index";
        public const string INDEX_OVER_FLOW = "Edit failed, index overflow.";
    }
    class CommandError
    {
        public const string INVALID_COMMAND = "No such command!";
    }
    class FileError
    {
        public const String FILE_NOT_FOUND = "File not found.";
        public const String XML_ERROR = "XML data format error";
    }
}
